//声明菜单
export default {
  pagename:'App',
  //菜单页面
  children: [{
    name: '首页',
    pagename: 'home',
    path: "/",
    component: () =>
      import ( /* webpackChunkName: "home" */ './pages/home.vue'),
  }, {
    name: '员工',
    pagename: 'employeeManage',
    path: "/employeeManage",
    component: () =>
      import ( /* webpackChunkName: "employeeManage" */ './pages/employeeManage.vue'),
  }, {
    pagename: 'setting',
    name: '系统设置',
    component: () =>
      import ( /* webpackChunkName: "eventLog" */ './pages/setting.vue'),
    children: [{
      pagename: 'basic',
      name: '基础设置',
      component: () =>
        import ( /* webpackChunkName: "basic" */ './pages/setting/basic/basic.vue'),
      children: [{
        pagename: 'goods',
        name: '物品',
        component: () =>
          import ( /* webpackChunkName: "goods" */ './pages/setting/basic/goods.vue'),
      }, {
        pagename: 'classroom',
        name: '教室',
        component: () =>
          import ( /* webpackChunkName: "classroom" */ './pages/setting/basic/classroom.vue'),
      }, {
        pagename: 'accounts',
        name: '收款账户',
        component: () =>
          import ( /* webpackChunkName: "accounts" */ './pages/setting/basic/accounts.vue'),
      }]
    }, {
      pagename: 'eventLog',
      name: '系统日志',
      component: () =>
        import ( /* webpackChunkName: "eventLog" */ './pages/setting/eventLog.vue'),
    }]
  }],
  //不在菜单里面的页面 添加到page 不是添加到菜单
  others: [{
    name: '物品详情',
    pagename: 'goodsDetail',
    path: "/goodsDetail/:id",
    component: () =>
      import ( /* webpackChunkName: "goodsDetail" */ './pages/setting/basic/goodsDetail.vue')
  }]
}
